package com.personal.gateway.flinkAllCommand.configurationOption.configurationType;

import com.personal.gateway.flinkAllCommand.configurationOption.ConfigurationOption;

import java.util.List;

/**
 * @author BigHead
 * @date 2022/1/10 16:28
 * @description ConfigurationTypeListString
 */
public class ConfigurationTypeListString extends AbstractConfigurationType<List<String>> {
    public ConfigurationTypeListString() {
        super(
                (Class<List<String>>)
                        (Class<?>) List.class
        );
    }

    @Override
    public String getTypeString() {
        return "List<String> [,]分割";
    }

    @Override
    public void setValue(List<String> value) {
        this.value = value;
    }

    @SafeVarargs
    @Override
    public final void setExampleValue(List<String>... exampleValue) {
        this.exampleValue = exampleValue;
    }

    @Override
    public List<String>[] getExampleValue(ConfigurationOption<?, ?> configurationOption) {
        return new List[0];
    }
}
